package com.example.base_model.room.bean

import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.serialization.Serializable

/**
 * @Author jiangKunKun
 * @CreateDate 2025/8/19
 * @Description
 * @SpittingGrooves
 */
@Serializable
@Entity(tableName = "pets")
data class Pet(
    @PrimaryKey(autoGenerate = true)
    val id: Int,
    val name: String,
    val type: String, // DOG, CAT, BIRD
    val userId: Int  // 外键，指向 User.id
)
